//
//  YSpreadViewItemViewSubViewItemView.h
//  yuimall_Iphone
//
//  Created by yuike6 yuike6 on 12-4-18.
//  Copyright (c) 2012年 yuike. All rights reserved.
//

#import "UIViewEx.h"
#import "YSpreadViewModel.h"

@protocol YSpreadViewItemViewSubViewItemViewDelegate;
@interface YSpreadViewItemViewSubViewItemView : UIViewEx
{
    UIViewEx * contentView_;
    UILabel * title_;    
    YSpreadViewItemModel * data_;
    
    id<YSpreadViewItemViewSubViewItemViewDelegate> delegate_;
}

@property (nonatomic, strong) UIViewEx * contentView;
@property (nonatomic, strong) YSpreadViewItemModel * data;

@property (nonatomic, assign) id <YSpreadViewItemViewSubViewItemViewDelegate> delegate;
@end


@protocol YSpreadViewItemViewSubViewItemViewDelegate <NSObject>
- (void) clickSubItem:(YSpreadViewItemViewSubViewItemView *) itemView;
@end